package com.ruoyi.courseManagement.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程列表对象 course
 * 
 * @author liao
 * @date 2025-06-09
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Integer courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程分类id */
    @Excel(name = "课程分类id")
    private Integer categoryId;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String courseDesc;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverImage;

    /** 视频路径 */
    @Excel(name = "视频路径")
    private String videoPath;

    /** 校区id */
    @Excel(name = "校区id")
    private Integer campusId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer courseStatus;

    /** 备用字段1 */
    private String demo1;

    /** 备用字段2 */
    private String demo2;

    /** 备用字段3 */
    private String demo3;

    public void setCourseId(Integer courseId) 
    {
        this.courseId = courseId;
    }

    public Integer getCourseId() 
    {
        return courseId;
    }

    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }

    public void setCategoryId(Integer categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Integer getCategoryId() 
    {
        return categoryId;
    }

    public void setCourseDesc(String courseDesc) 
    {
        this.courseDesc = courseDesc;
    }

    public String getCourseDesc() 
    {
        return courseDesc;
    }

    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }

    public void setVideoPath(String videoPath) 
    {
        this.videoPath = videoPath;
    }

    public String getVideoPath() 
    {
        return videoPath;
    }

    public void setCampusId(Integer campusId) 
    {
        this.campusId = campusId;
    }

    public Integer getCampusId() 
    {
        return campusId;
    }

    public void setCourseStatus(Integer courseStatus) 
    {
        this.courseStatus = courseStatus;
    }

    public Integer getCourseStatus() 
    {
        return courseStatus;
    }

    public void setDemo1(String demo1) 
    {
        this.demo1 = demo1;
    }

    public String getDemo1() 
    {
        return demo1;
    }

    public void setDemo2(String demo2) 
    {
        this.demo2 = demo2;
    }

    public String getDemo2() 
    {
        return demo2;
    }

    public void setDemo3(String demo3) 
    {
        this.demo3 = demo3;
    }

    public String getDemo3() 
    {
        return demo3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("categoryId", getCategoryId())
            .append("courseDesc", getCourseDesc())
            .append("coverImage", getCoverImage())
            .append("videoPath", getVideoPath())
            .append("campusId", getCampusId())
            .append("courseStatus", getCourseStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("demo1", getDemo1())
            .append("demo2", getDemo2())
            .append("demo3", getDemo3())
            .toString();
    }
}
